/**
 * Humans are the biggest threat to the island ecosystem.
 * Stop them at all costs!
 *
 * Human behaviour depends on currently assumed role.
 * Basic roles are
 * - Farmers
 * - Hunters
 * - Workers
 * - Explorers
 * Each human assess the needs of the colony based on
 * information they have.
 */

import { mergeTemplates } from '$lib/builder';
import { Creature, Glyph } from '$lib/components';
import { defineComponent } from '$lib/ecs';

export const Human = defineComponent('Human', {});

const HumanKnowledge = defineComponent('HumanKnowledge', {
  // food: 
});

export const humanTemplate = [
  [Creature],
  [Human],
  [Glyph, {
    glyph: 'R',
    color: '#a65',
  }],
];

export const humanHunterTemplate = mergeTemplates(humanTemplate, [
  [Glyph, {
    color: '#d43',
  }],
]);
